package demo4;

public class Frog implements IAmphibious{
    @Override
    public void both() {
        System.out.println("both");
    }

    @Override
    public void run() {
        System.out.println("run");
    }

    @Override
    public void swim() {
        System.out.println("swim");
    }
}
